#!/bin/bash

erlc *.erl

xterm -geometry 38x10+365+0 -bg black -fg green -e erl -setcookie apa -name node -s node start &


xterm -geometry 38x10+365+200 -bg black -fg green -e erl -setcookie apa -name node1 -s node start_join node@$(hostname) &
xterm -geometry 38x10+365+400 -bg black -fg green -e erl -setcookie apa -name node2 -s node start_join node@$(hostname) &
xterm -geometry 38x10+365+600 -bg black -fg green -e erl -setcookie apa -name node3 -s node start_join node@$(hostname) &
